//
//  WBEmotion.m
//  新浪微博项目
//
//  Created by neng on 15/12/22.
//  Copyright (c) 2015年 neng. All rights reserved.
//

#import "WBEmotion.h"
#import "MJExtension.h"

@interface WBEmotion () <NSCoding>

@end

@implementation WBEmotion
MJCodingImplementation

//数组的removeObject方法会调用
- (BOOL)isEqual:(WBEmotion *)other
{
    if ([self.chs isEqualToString:other.chs] || [self.code isEqualToString:other.code]) {
        return YES;
    }
    return NO;
}

@end
